<!DOCTYPE HTML>
<html>
  <head>
    <title>window switching</title>
  </head>

  <body>
    <p>
      Click <a id="open" href="#" onclick='window.open("closeable.html")'>here</a> to open a new window.
    </p>
  </body>
</html>